<template>
    <view>
        
        <ac-tabs v-model:activeKey="activeKey">
            <template v-for="(tab, index) in tabList" :key="index">
                <ac-tab :title="tab.title"> 内容 1 </ac-tab>
            </template>
            <!-- <ac-tab title="标签 1"> 内容 1 </ac-tab> -->
            <!-- <ac-tab title="标签 2" disabled> 内容 2 </ac-tab> -->
        </ac-tabs>
    </view>
</template>

<script lang="ts" setup>
import { ref, computed, getCurrentInstance } from 'vue';
import { onShow, onReady, onLoad, onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app';

const { proxy } = getCurrentInstance() as any;

const activeKey = ref('1');

const tabList = ref([
    { title: '标签 1', },
    { title: '标签 2', },
    { title: '标签 3', },
    { title: '标签 4', },

])

onShow(() => { });

onReady(() => { });

onLoad(() => { });

</script>

<style scoped></style>
